Transformer Theory